﻿USE [master]
GO
/****** Object:  Database [OfflineSitka]    Script Date: 02/07/2008 20:51:45 ******/
CREATE DATABASE [OfflineSitka] ON  PRIMARY 
( NAME = N'OfflineSitka', FILENAME = N'c:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\DATA\OfflineSitka.mdf' , SIZE = 6144KB , MAXSIZE = UNLIMITED, FILEGROWTH = 1024KB )
 LOG ON 
( NAME = N'OfflineSitka_log', FILENAME = N'c:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\DATA\OfflineSitka_log.ldf' , SIZE = 10176KB , MAXSIZE = 2048GB , FILEGROWTH = 10%)
 COLLATE SQL_Latin1_General_CP1_CI_AS
GO
EXEC dbo.sp_dbcmptlevel @dbname=N'OfflineSitka', @new_cmptlevel=90
GO
IF (1 = FULLTEXTSERVICEPROPERTY('IsFullTextInstalled'))
begin
EXEC [OfflineSitka].[dbo].[sp_fulltext_database] @action = 'enable'
end
GO
ALTER DATABASE [OfflineSitka] SET ANSI_NULL_DEFAULT OFF 
GO
ALTER DATABASE [OfflineSitka] SET ANSI_NULLS OFF 
GO
ALTER DATABASE [OfflineSitka] SET ANSI_PADDING OFF 
GO
ALTER DATABASE [OfflineSitka] SET ANSI_WARNINGS OFF 
GO
ALTER DATABASE [OfflineSitka] SET ARITHABORT OFF 
GO
ALTER DATABASE [OfflineSitka] SET AUTO_CLOSE OFF 
GO
ALTER DATABASE [OfflineSitka] SET AUTO_CREATE_STATISTICS ON 
GO
ALTER DATABASE [OfflineSitka] SET AUTO_SHRINK OFF 
GO
ALTER DATABASE [OfflineSitka] SET AUTO_UPDATE_STATISTICS ON 
GO
ALTER DATABASE [OfflineSitka] SET CURSOR_CLOSE_ON_COMMIT OFF 
GO
ALTER DATABASE [OfflineSitka] SET CURSOR_DEFAULT  GLOBAL 
GO
ALTER DATABASE [OfflineSitka] SET CONCAT_NULL_YIELDS_NULL OFF 
GO
ALTER DATABASE [OfflineSitka] SET NUMERIC_ROUNDABORT OFF 
GO
ALTER DATABASE [OfflineSitka] SET QUOTED_IDENTIFIER OFF 
GO
ALTER DATABASE [OfflineSitka] SET RECURSIVE_TRIGGERS OFF 
GO
ALTER DATABASE [OfflineSitka] SET  ENABLE_BROKER 
GO
ALTER DATABASE [OfflineSitka] SET AUTO_UPDATE_STATISTICS_ASYNC OFF 
GO
ALTER DATABASE [OfflineSitka] SET DATE_CORRELATION_OPTIMIZATION OFF 
GO
ALTER DATABASE [OfflineSitka] SET TRUSTWORTHY OFF 
GO
ALTER DATABASE [OfflineSitka] SET ALLOW_SNAPSHOT_ISOLATION OFF 
GO
ALTER DATABASE [OfflineSitka] SET PARAMETERIZATION SIMPLE 
GO
ALTER DATABASE [OfflineSitka] SET  READ_WRITE 
GO
ALTER DATABASE [OfflineSitka] SET RECOVERY SIMPLE 
GO
ALTER DATABASE [OfflineSitka] SET  MULTI_USER 
GO
ALTER DATABASE [OfflineSitka] SET PAGE_VERIFY CHECKSUM  
GO
ALTER DATABASE [OfflineSitka] SET DB_CHAINING OFF 
GO
CREATE USER [NT AUTHORITY\NETWORK SERVICE] FOR LOGIN [NT AUTHORITY\NETWORK SERVICE]
GO
EXEC sp_addrolemember N'db_owner', N'NT AUTHORITY\NETWORK SERVICE'
GO
